GtkFontChooserWidget is using a GThemedIcon in its template,
so we need to ensure that the type is registered before
loading it. This was causing the defaultvalue test to fail.
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
g_type_ensure (GTK_TYPE_DELAYED_FONT_DESCRIPTION);
+ g_type_ensure (G_TYPE_THEMED_ICON);
widget_class->screen_changed = gtk_font_chooser_widget_screen_changed;
widget_class->style_updated = gtk_font_chooser_widget_style_updated;